<LINK href="http://cms.f.itc.cn/upload/ihome/js/calendar/css/calendar.css" type="text/css" rel="stylesheet" />
<LINK href="http://cms.f.itc.cn/upload/ihome/js/calendar/css/alternate.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src='http://cms.f.itc.cn/upload/ihome/js/calendar/mootools.js'></script>
<script type="text/javascript" src='http://cms.f.itc.cn/upload/ihome/js/calendar/calendar.rc4.js'></script>
			<div class="box02_1">
				<div class="search02 clear">
				<form action="/statis/user_behavior" method="get">
					时间段：<input type="text" class="in2" style="width:70px;" id="begin_time" size="10" name="start" value='<{$start}>' /> <input type="text" class="in2" style="width:70px;" id="end_time" size="10" name="end" value='<{$end}>' />
					<input type="submit" value="查询" />
				</form>
				</div>
				<span style="font-size:16px;">店铺相关统计：</span>
                <div class="box02_Tab">
                	<div class="table01">
                    	<table cellpadding="0" cellspacing="0" width="100%" border="0" id="table">
                        <tr class="th">
                        <th><div>店铺名称</div></th>
						<th><div>店铺收藏数</div></th>
						<th><div>商品收藏数</div></th>
						<th><div>评论数</div></th>
						<th><div>留言数</div></th>
						<th><div>咨询数</div></th>
						<th><div>咨询客服pv</div></th>
						<th><div>咨询客服uv</div></th>
                        </tr>
						<{foreach from=$datas item=item}>
						<tr>
   						<td width="25%"><{$item.shop_name}></td>
						<td width="15%"><{$item.shop_favorite}></td>
						<td width="10%"><{$item.goods_fav}></a></td>
						<td width="10%"><{$item.comments}></a></td>
						<td width="10%"><{$item.messages}></a></td>
						<td width="10%"><{$item.consult}></a></td>
						<td width="10%"><{$item.pv}></a></td>
						<td width="10%"><{$item.ip}></a></td>
						</tr>
						<{/foreach}>
                        </table>
						<script language="javascript">
						<!--
						//table("表格名称","默认背景""鼠标经过背景","最后一行鼠标经过背景");
						table("table","bg","bg1","bg2");
						-->
                        </script>
                    </div>
                </div>
								
<script>
window.addEvent('domready', function() {
	myCal = new Calendar({ begin_time: 'Y-m-d'},{classes:['alternate'],navigation:2,tweak:{x:0,y:-20}});
	myCal = new Calendar({ end_time: 'Y-m-d'},{classes:['alternate'],navigation:2,tweak:{x:0,y:-20}});

	$begin_str = '<{$begin_time}>';
	var begin_time = $('begin_time');
	if (begin_time.value == '') begin_time.value = $begin_str;
		begin_time.onfocus = function() {
		this.className = 'in1';
		if(this.value == $begin_str) this.value='';        
	}
	begin_time.onblur = function() {
		this.className='in2';
		if(this.value=='') this.value = $begin_str;
	}

	$end_str = '<{$end_time}>';
	var end_time = $('end_time');
	if (end_time.value == '') end_time.value = $end_str;
	end_time.onfocus = function() {
	this.className = 'in1';
	if(this.value == $end_str) this.value='';        
	}
	end_time.onblur = function() {
	this.className='in2';
	if(this.value=='') this.value = $end_str;
	}
																								 
});

</script>

